
#include "tp_typedef.h"
#include "tp_platform.h"
#include "tp_source_win32.h"
#include "tp_display_win32.h"

int tp_platform_init(void)
{
	int ret = TP_RET_OK;

	WSADATA wsaData = {0};

	if (WSAStartup(MAKEWORD(2, 2), &wsaData) != 0)
	{
		ret = TP_RET_FAIL;
	}

	return ret;
}

void tp_platform_uninit(void)
{
	WSACleanup();

	return;
}
